using System;
using UnityEngine;
using UnityEngine.UI;

/****************************************************
// 功能：弹出界面 有取消、确认按钮
// | Talk To [ 聊来改善地区金融服务环境，助力企业发展 ]
// | Copyright (c) 2021-2025 聊来 All rights reserved.
// | Licensed ( <a href="http://www.apache.org/licenses/LICENSE-2.0">聊来</a> )
// | @Author: 贯彻己道的云 <18970881148@qq.com>
// | DateTime: 2024/12/31 17:03:12
*****************************************************/

public class AlertNormalWindow : BaseWindow
{
    private void Awake()
    {
    }

    // Start is called before the first frame update
    void Start()
    {
    }

    // Update is called once per frame
    void Update()
    {
    }

    /// <summary>
    /// 取消
    /// </summary>
    public void CancelClickButton()
    {
        UIManager.Instance.ClosePopUp(WindowName.AlertNormal);

    }

    public void OkClickButton()
    {
#if UNITY_EDITOR
        UnityEditor.EditorApplication.isPlaying = false;
#else
        Application.Quit();
#endif
    }
}